package com.imooc.mall.form;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 添加商品
 */
@Data
public class CartAddForm {
    @NotNull(message = "商品id不能为空")
    private Integer productId;

    private Boolean selected=true;


}
